package com.swx.identityservice.service;

import com.swx.identityservice.models.ScbpRolePermission;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0.0
 * @date 2018/6/4 0004 23:22
 */
public interface ScbpRolePermissionService extends CrudService<ScbpRolePermission> {

    int  deletePermissionByRoleId(Integer id);

    int  selectCountByRoleId(Integer id);

    List<ScbpRolePermission> getpermissionbyroleid(Integer id);
}
